package com.ctshk.rpc.custom.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;
import java.time.LocalDateTime;

import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 询价单
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_customized_inquiry")
@ApiModel(value="CustomizedInquiry对象", description="询价单")
public class CustomizedInquiry extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "询价单标题")
    private String inquiryTitle;

    @ApiModelProperty(value = "询价单号")
    private String inquiryNumber;

    @ApiModelProperty(value = "报价单ID")
    private Long quotationId;

    @ApiModelProperty(value = "报价单号")
    private String quotationNumber;

    @ApiModelProperty(value = "出境类型(3出境定制 4入境定制 5會議會獎)")
    private Integer departType;

    @ApiModelProperty(value = " 出行性质（1 個人/家庭定制 2 企業/團隊定制 3 會議會獎）")
    private Integer travelType;

    @ApiModelProperty(value = "目的地主数据ID")
    private Long destinationId;

    @ApiModelProperty(value = "目的地")
    private String destination;

    @ApiModelProperty(value = "目的地Json")
    private String destinationJson;

    @ApiModelProperty(value = "出发地主数据ID")
    private Long departurePlaceId;

    @ApiModelProperty(value = "出发地")
    private String departurePlace;

    @ApiModelProperty(value = "预计出发日期")
    private LocalDate departureDate;

    @ApiModelProperty(value = "出行天数")
    private Integer travelDays;

    @ApiModelProperty(value = "含几晚")
    private Integer nightDays;

    @ApiModelProperty(value = "总计人数")
    private Integer totalPeopleNum;

    @ApiModelProperty(value = "人均预算")
    private BigDecimal capitaBudget;

    @ApiModelProperty(value = "OP的ID")
    private Long opId;

    @ApiModelProperty(value = "OP的员工号")
    private String opNumber;

    @ApiModelProperty(value = "OP姓名")
    private String opName;

    @ApiModelProperty(value = "询价截止时间")
    private LocalDate inquiryEndTime;

    @ApiModelProperty(value = "销售ID")
    private Long salespersonId;

    @ApiModelProperty(value = "销售员工号")
    private String salespersonNumber;

    @ApiModelProperty(value = "销售姓名")
    private String salespersonName;

    @ApiModelProperty(value = "服务要求附件")
    private String serviceRequireFiles;

    @ApiModelProperty(value = "客户名单文件")
    private String customerListFiles;

    @ApiModelProperty(value = "客户类型(1 散客 2 大客户)")
    private Integer customerType;

    @ApiModelProperty(value = "大客户ID")
    private Long bigClientId;

    @ApiModelProperty(value = "大客户名称")
    private String bigClientName;

    @ApiModelProperty(value = "联络人中文姓")
    private String contactCnSurname;

    @ApiModelProperty(value = "联络人中文名")
    private String contactCnName;

    @ApiModelProperty(value = "联络人英文姓")
    private String contactEnSurname;

    @ApiModelProperty(value = "联络人英文名")
    private String contactEnName;

    @ApiModelProperty(value = "联络人性别")
    private Long contactGender;

    @ApiModelProperty(value = "联系电话,json格式")
    private String contactTelephones;

    @ApiModelProperty(value = "联系邮箱")
    private String contactEmail;

    @ApiModelProperty(value = "内部备注")
    private String internalRemark;

    @ApiModelProperty(value = "询价单状态(1 未询价	2 未处理	3 已超时	4 已同意	5 已拒绝 6 继续询价 7 已报价 8 待开团 9 已开团)")
    private Integer inquiryStatus;

    @ApiModelProperty(value = "拒绝说明")
    private String refuseRemark;

    @ApiModelProperty(value = "拒绝时间")
    private LocalDateTime refuseTime;

    @ApiModelProperty(value = "继续询价反馈信息")
    private String feedbackInfo;

    @ApiModelProperty(value = "C端主题json")
    private String themeJson;

    @ApiModelProperty(value = "联系人姓名（C端）")
    private String contactName;

    @ApiModelProperty(value = "手机区号（记录C端未登录用户）")
    private String phoneCode;

    @ApiModelProperty(value = "手机号（记录C端未登录用户）")
    private String phone;

    @ApiModelProperty(value = "查询编码")
    private String queryNumber;

    @ApiModelProperty(value = "用户ID（C端）")
    private Long userId;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
